package com.jmb.apiplatform.mapper;

import com.jmb.apiplatform.pojo.ApiTestAssert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author jinbo
* @description 针对表【api_test_assert】的数据库操作Mapper
* @createDate 2025-02-06 15:52:05
* @Entity com.jmb.apiplatform.pojo.ApiTestAssert
*/

@Mapper
public interface ApiTestAssertMapper  {
    void insertAssert(ApiTestAssert apiTestAssert);
    // 批量插入断言数据
    void insertAssertList(List<ApiTestAssert> apiTestAssertList);
    // 根据用例编号删除数据
    void deleteAssertByCaseId(Integer caseId);
    // 根据断言编号删除数据
    void deleteAssertById(Integer assertId);
    // 修改数据
    void updateAssert(ApiTestAssert apiTestAssert);
    List<ApiTestAssert> selectAssertList(ApiTestAssert apiTestAssert);
    List<ApiTestAssert> checkAssertType(ApiTestAssert apiTestAssert);
    List<Integer> selectAllAssertId(Integer caseId);

}




